home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2001 November / macformat-109.iso / Demos / Alice Demo / demo / pak0.pk3 / scripts / metal.shader < prev    next >
Encoding:
Text File  |  2000-11-20  |  3.0 KB  |  166 lines

  1. // levelord
  2. textures/metal/conveyor
  3. {
  4.     qer_editorimage    textures/metal/bellows2_3.tga
  5.     { 
  6.         map $lightmap 
  7.         rgbGen identity 
  8.     } 
  9.     {
  10.         map textures/metal/bellows2_3.tga
  11.         blendFunc GL_DST_COLOR GL_ZERO 
  12.         tcMod scroll 0.0 1.0
  13.         rgbGen identity
  14.     }
  15. }
  16.  
  17.  
  18.  
  19. // pete
  20. textures/metal/rebar_mesh1
  21. {
  22.     qer_editorimage    textures/metal/rebar_mesh1.tga
  23.     qer_trans    0.4
  24.     surfaceparm metalsteps 
  25.     surfaceparm trans 
  26.     {
  27.         map textures/metal/rebar_mesh1.tga
  28.         blendfunc GL_ZERO GL_SRC_COLOR
  29.         tcMod scale 2 2
  30.         rgbGen identity
  31.     }
  32.     { 
  33.         map $lightmap 
  34.         rgbGen identity 
  35.         blendFunc GL_DST_COLOR GL_ZERO 
  36.         depthFunc equal 
  37.     } 
  38. }
  39.  
  40. // cameron testing
  41. textures/metal/irn_grt03
  42. {
  43.     qer_editorimage    textures/metal/irn_grt03.tga
  44.     qer_trans    0.4
  45.     surfaceparm metalsteps 
  46.     surfaceparm trans 
  47.     {
  48.         map textures/metal/irn_grt03.tga
  49.         blendfunc GL_ZERO GL_SRC_COLOR
  50.         tcMod scale 2 2
  51.         rgbGen identity
  52.     }
  53.     { 
  54.         map $lightmap 
  55.         rgbGen identity 
  56.         blendFunc GL_DST_COLOR GL_ZERO 
  57.         depthFunc equal 
  58.     } 
  59. }
  60.  
  61. // brass texture with fake specular highlights, like backing on torch2.tik -- PGM
  62. textures/metal/brass01_spec
  63. {
  64.     qer_editorimage textures/metal/bras_hex01.tga
  65.     tessSize 64
  66.     {
  67.         map textures/metal/bras_hex01.tga
  68.         tcMod scale 2 2
  69.         rgbGen identity
  70.     }
  71.     {
  72.         map textures/metals/envmap_gold.tga
  73.         tcMod scale 2 2
  74.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  75.         tcGen environment
  76.     }
  77.     { 
  78.         map $lightmap 
  79.         tcMod scale 2 2
  80.         blendFunc GL_DST_COLOR GL_ZERO 
  81.         rgbGen identity 
  82.     } 
  83. }
  84.  
  85. //wtroughtiron for hedge maps alpha
  86. textures/metal/wrought01abot
  87. {
  88.     qer_editorimage textures/metal/wrought01abot.tga
  89.     surfaceparm trans
  90.     surfaceparm alphashadow
  91.     {
  92.         map textures/metal/wrought01abot.tga
  93.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  94.         alphafunc gt0
  95.         depthwrite
  96.     }
  97.     {    
  98.         map $lightmap
  99.         blendfunc filter
  100.         depthfunc equal
  101.         rgbGen identity
  102.     }
  103. }
  104.  
  105. //wtroughtiron for hedge maps alpha
  106. textures/metal/wrought01amid
  107. {
  108.     qer_editorimage textures/metal/wrought01amid.tga
  109.     surfaceparm trans
  110.     surfaceparm alphashadow
  111.     {
  112.         map textures/metal/wrought01amid.tga
  113.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  114.         alphafunc gt0
  115.         depthwrite
  116.     }
  117.     {    
  118.         map $lightmap
  119.         blendfunc filter
  120.         depthfunc equal
  121.         rgbGen identity
  122.     }
  123. }
  124.  
  125. //wtroughtiron for hedge maps alpha
  126. textures/metal/wrought01atop1
  127. {
  128.     qer_editorimage textures/metal/wrought01atop1.tga
  129.     surfaceparm trans
  130.     surfaceparm alphashadow
  131.     {
  132.         map textures/metal/wrought01atop1.tga
  133.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  134.         alphafunc ge128
  135.         depthwrite
  136.  
  137.     }
  138.     {    
  139.         map $lightmap
  140.         blendfunc filter
  141.         depthfunc equal
  142.         rgbGen identity
  143.     }
  144. }
  145.  
  146. //wtroughtiron for hedge maps alpha
  147. textures/metal/wrought01atop2
  148. {
  149.     qer_editorimage textures/metal/wrought01atop2.tga
  150.     surfaceparm trans
  151.     surfaceparm alphashadow
  152.     {
  153.         map textures/metal/wrought01atop2.tga
  154.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  155.         alphafunc ge128
  156.         depthwrite
  157.     }
  158.     {    
  159.         map $lightmap
  160.         blendfunc filter
  161.         depthfunc equal
  162.         rgbGen identity
  163.     }
  164. }
  165.  
  166.